/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bus;

import pojo.Desktop;
import java.util.List;
import dao.DesktopDAO;

/**
 *
 * @author NhatTan
 */
public class DesktopBUS {

    public static List<Desktop> layDanhSachDesktop() {
        return DesktopDAO.layDanhSachDesktop();
    }

    public static boolean themDesktop(Desktop desktop) {
        return DesktopDAO.themDesktop(desktop);
    }

    public static boolean capNhatDesktop(Desktop desktop) {
        return DesktopDAO.capNhatDesktop(desktop);
    }

    public static boolean xoaDesktop(Desktop desktop) {
        return DesktopDAO.xoaDesktop(desktop);
    }
}
